#pragma once

#include <common/HeaderSpace.h>
#include <common/Port.h>

#include <cstdint>
#include <string>
#include <bits/stdc++.h>

namespace flashpp {

struct Rule {
  uint32_t addr;
  std::bitset<32> bits;
  int prefixLength;
  int priority;
  // std::string port;
  Port* port;
  HeaderSpace hs;
  HeaderSpace hit;
};

} // namespace flashpp